package com.github.ldw4033.spring.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {
	private static Logger log=LoggerFactory.getLogger(IndexController.class);
	public IndexController() {
		log.info("-------------------------------------->IndexController");
	}
	@RequestMapping(value={"/","/index"})
	public String Index(){
		log.info("IndexController");
		return "error";
	}

}
